import { GithubOutlined } from "@ant-design/icons";
import { DefaultFooter } from "@ant-design/pro-components";
import React from "react";

const Footer = () => {
  const defaultMessage = "江苏南高智能装备创新中心有限公司技术部出品";

  const currentYear = new Date().getFullYear();

  return (
    <DefaultFooter
      style={{
        background: "none",
      }}
      copyright={`${currentYear} ${defaultMessage}`}
      links={[
        {
          key: "Tasks",
          title: "Tasks",
          href: "https://gitee.com/wyuers/utools_props",
          blankTarget: true,
        },
        {
          key: "wyuer",
          title: <GithubOutlined />,
          href: "https://gitee.com/wyuers",
          blankTarget: true,
        },
        {
          key: "Ant Design",
          title: "Ant Design",
          href: "https://ant.design",
          blankTarget: true,
        },
      ]}
    />
  );
};

export default Footer;
